<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h2>书籍列表</h2>
    <hr>

    <ul>
        {% for book in books %}
            <li>
                <a href="/bookdetail/{{ book.id }}/">{{ book.title }}</a>
               {# <a href="{{ url_for('book.book_detail', bid=book.id) }}">{{ book.title }}</a>#}
            </li>
        {% endfor %}
    </ul>

</body>
</html>